package grape.composite.rest.feedback.vo;
import grape.common.rest.vo.BaseIdVo;

import grape.common.service.trans.TransBy;
import grape.common.service.trans.impl.DatetimeTransServiceImpl;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 意见反馈表
 * </p>
 *
 * @author yangwei
 * @since 2020-03-15
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="意见反馈数据响应对象")
public class FeedbackVo extends BaseIdVo<String> {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "联系人姓名")
    private String contactUsername;

    @ApiModelProperty(value = "联系人手机号")
    private String contactMobile;

    @ApiModelProperty(value = "联系人邮箱")
    private String contactEmail;

    @ApiModelProperty(value = "问题建议内容")
    private String suggestion;

    @ApiModelProperty(value = "问题建议时间")
    private Long suggestionAt;

    @TransBy(type = DatetimeTransServiceImpl.trans_datetime, byFieldName = "suggestionAt")
    @ApiModelProperty(value = "问题建议时间")
    private String suggestionAtFormat;

    @ApiModelProperty(value = "问题建议图片地址")
    private String suggestionImgUrl;

    @ApiModelProperty(value = "回复内容")
    private String reply;

    @ApiModelProperty(value = "回复时间")
    private Long replyAt;

    @TransBy(type = DatetimeTransServiceImpl.trans_datetime, byFieldName = "replyAt")
    @ApiModelProperty(value = "回复时间")
    private String replyAtFormat;

    @ApiModelProperty(value = "回复图片地址")
    private String replyImgUrl;

    @ApiModelProperty(value = "前一条id")
    private String previousFeedbackId;

}
